home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Datafile PD-CD 1 Issue 2
/
PDCD-1 - Issue 02.iso
/
_utilities
/
utilities
/
004
/
gststubs
/
ReadMe
< prev
Wrap
Text File
|
1994-09-27
|
2KB
|
47 lines
GstStubs
by George Taylor
This software is public domain. The author can not be help responsible
for anything which happens as a result of using or not using this software!
The file 'gststubs' is a small object file (AOF) suitable for use with
cc,link,gcc,Objasm etc.
It does much the same as Acorns o.stubs file except that:
a) It only results in 292 bytes in your program.
I have had a 540 byte hello world program written in C.
b) It will only work for applications not for modules
(AIF only).
c) It is PUBLIC DOMAIN.
Instead of placing the Shared C Library static data and vector tables
in a DATA area it is placed into a ZERO initialised data area. This means
no extra space is consumed in the executeable on disk and the space
is allocated from a well defined area of the AIF image meaning there can be
no clashes with other memory uses. If you want to know more use !DecAOF
on the o.gststubs file.
If you have any problems then please contact me:
George Taylor
16 Newton Crescent
Dunblane
Perthshire
FK15 ODZ
Email: george@tardis.ed.ac.uk
I find this gststubs file very useful when creating very small filters
in C, the resulting image is smaller than the image using the normnal stubs
(even after compression with squeeze). For small programs squeeze will not
be able to make your image file shorter.
The version of squeeze I have (version 4.00) seems to get things wrong
if you specify an input file and an output file and it decides to copy
the file (as it was too small to compress). This bug can happen if you
use squeeze from !Make.